package com.mengma.ec.service.portal;

import com.mengma.ec.commons.ServerResponse;
import com.mengma.ec.entity.Order;
import com.mengma.ec.vo.CartVo;
import com.mengma.ec.vo.OrderVo;

import java.util.List;
import java.util.Map;

/**
 * @Auther: xixi
 * @Date: 2018/9/26 14:47
 * @Description:
 */
public interface IOrderService {
    ServerResponse<OrderVo> create(Integer id, Integer shippingId);

    ServerResponse get_order_cart_product(Integer id);

    ServerResponse list(Integer id, Integer pageNum, Integer pageSize);

    ServerResponse pay(Integer id, Long orderNo);

    ServerResponse checkDataLegal(Map<String, String> params);

    ServerResponse query_order_pay_status(Integer id, Long orderNo);
}
